function getConfirmStatus(n) {
	var confirmStatus = "";
	switch (n) {
	case '0':
		confirmStatus = "未确认";
		break;
	case '1':
		confirmStatus = "确认失败";
		break;
	case '2':
		confirmStatus = "确认成功";
		break;
	case '3':
		confirmStatus = "部分确认成功";
		break;
	case '4':
		confirmStatus = "认购成功，份额待基金成立时确认（即行为确认)";
		break;
	case '9':
		confirmStatus = "已撤单";
		break;
	case '11':
		confirmStatus = "组合订单专用 - 部分子订单确认";
		break;
	case '12':
		confirmStatus = "组合订单专用 - 全部子订单确认";
		break;
	default:
		confirmStatus = "订单确认状态有误";
	}

	return confirmStatus;
}

function getPayStatus(n) {
	var payStatus = "";
	switch (n) {
	case '0':
		payStatus = "处理中";
		break;
	case '1':
		payStatus = "扣款失败";
		break;
	case '2':
		payStatus = "扣款成功";
		break;
	default:
		payStatus = "订单支付状态有误";
	}
	
	return payStatus;
}